package com.bank.tools;

import javax.servlet.http.HttpServletResponse;

public class JSONOutput {
	public static void OutputJSON(HttpServletResponse response,String json){
		response.setContentType("text/html;charset=UTF-8");
		try{
			response.getWriter().print(json);  
	        response.getWriter().flush();  
	        response.getWriter().close();
		}catch(Exception e){
			e.printStackTrace();
		}
	}
}
